projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87ded4c
)
Remove some compat code from ispell.el
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 19 Aug 2020 09:34:54 +0000
(11:34 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 19 Aug 2020 09:34:54 +0000
(11:34 +0200)
* lisp/textmodes/ispell.el (ispell): transient-mark-mode and
mark-active are always bound, so remove the check.
lisp/textmodes/ispell.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/ispell.el
b/lisp/textmodes/ispell.el
index f5af392f94b0d24e5a0e77b5a2c48ed21cc8dd45..b2ccbc8da24e49ae0b2eaed5c9b917698dad331c 100644
(file)
--- a/
lisp/textmodes/ispell.el
+++ b/
lisp/textmodes/ispell.el
@@
-3723,8
+3723,7
@@
looking for a dictionary, please see the distribution of the GNU ispell
program, or do an Internet search; there are various dictionaries
available on the net."
(interactive)
- (if (and (boundp 'transient-mark-mode) transient-mark-mode
- (boundp 'mark-active) mark-active)
+ (if (and transient-mark-mode mark-active)
(ispell-region (region-beginning) (region-end))
(ispell-buffer)))